package com.ruoyi.demo.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.demo.mapper.SakuraExpMapper;
import com.ruoyi.demo.domain.SakuraExp;
import com.ruoyi.demo.service.ISakuraExpService;

/**
 * 就业经验Service业务层处理
 * 
 * @author 蓝鲸
 * @date 2024-08-09
 */
@Service
public class SakuraExpServiceImpl implements ISakuraExpService 
{
    @Autowired
    private SakuraExpMapper sakuraExpMapper;

    /**
     * 查询就业经验
     * 
     * @param id 就业经验主键
     * @return 就业经验
     */
    @Override
    public SakuraExp selectSakuraExpById(Long id)
    {
        return sakuraExpMapper.selectSakuraExpById(id);
    }

    /**
     * 查询就业经验列表
     * 
     * @param sakuraExp 就业经验
     * @return 就业经验
     */
    @Override
    public List<SakuraExp> selectSakuraExpList(SakuraExp sakuraExp)
    {
        return sakuraExpMapper.selectSakuraExpList(sakuraExp);
    }

    /**
     * 新增就业经验
     * 
     * @param sakuraExp 就业经验
     * @return 结果
     */
    @Override
    public int insertSakuraExp(SakuraExp sakuraExp)
    {
        return sakuraExpMapper.insertSakuraExp(sakuraExp);
    }

    /**
     * 修改就业经验
     * 
     * @param sakuraExp 就业经验
     * @return 结果
     */
    @Override
    public int updateSakuraExp(SakuraExp sakuraExp)
    {
        return sakuraExpMapper.updateSakuraExp(sakuraExp);
    }

    /**
     * 批量删除就业经验
     * 
     * @param ids 需要删除的就业经验主键
     * @return 结果
     */
    @Override
    public int deleteSakuraExpByIds(Long[] ids)
    {
        return sakuraExpMapper.deleteSakuraExpByIds(ids);
    }

    /**
     * 删除就业经验信息
     * 
     * @param id 就业经验主键
     * @return 结果
     */
    @Override
    public int deleteSakuraExpById(Long id)
    {
        return sakuraExpMapper.deleteSakuraExpById(id);
    }
}
